<?php
namespace App\Services\Finance;

use App\Repositories\Finance\FinanceThirdRepository;

class FinanceThirdService
{
    private $service;

    public function __construct()
    {
        $this->service = new FinanceThirdRepository();
    }

    public function getAdminIndex()
    {
        return $this->service->getAdminIndex();
    }

    public function getApiIndex($operType,$page)
    {
        return $this->service->getApiIndex($operType,$page);
    }

    public function setAdd($data)
    {
        return $this->service->setAdd($data);
    }

    public function setModify($data,$id)
    {
        return $this->service->setModify($data,$id);
    }

    public function setModifyBySerial($data,$serial)
    {
        return $this->service->setModifyBySerial($data,$serial);
    }

    public function getOne($id)
    {
        return $this->service->getShowOne($id);
    }

    public function getOneBySerial($serial)
    {
        return $this->service->getOneBySerial($serial);
    }

    public function getOneByStatus($uid,$genre,$status)
    {
        return $this->service->getOneByStatus($uid,$genre,$status);
    }
}